package com.emotion.recognition.shared;

import java.io.Serializable;

import com.google.common.base.Objects;

public class SOMConfig implements Serializable {
    private static final long serialVersionUID = 3L;

    public int latticeSize;
    public double learningRate;
    public double radius;
    public int maxEpochs;

    public SOMConfig() {
        latticeSize = 15;
        learningRate = 0.25;
        radius = 7.5;
        maxEpochs = 500;
    }

    @Override
    public String toString() {
        return Objects.toStringHelper(this).add("lattice size", latticeSize)
                .add("learning rate", learningRate).add("radius", radius)
.add("epochs", maxEpochs)
                .toString();
    }
}
